package com.leyou.item.service;

import com.leyou.common.domain.PageResult;
import com.leyou.dto.BrandDto;

import java.util.List;

/**
 * @version V1.0
 * @author: Ljxpa
 * @date: 2020/03/04 16:55
 * @description:
 */
public interface BrandService {
	PageResult<BrandDto> pageQuery(Integer page, Integer row, String key, String sortBy, Boolean desc);

	void addBrand(BrandDto brand, List<Integer> cids);

	void editBrand(BrandDto brand, List<Integer> cids);

	void delBrand(Long bid);

	BrandDto queryById(Long brandId);

	List<BrandDto> queryByCid(Long cid);

	List<BrandDto> queryBrandByIds(List<Long> bids);
}
